Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Have freecam on death and also allow for first person following of pmcs #322

Merged
merged 6 commits into from
Jun 3, 2024

Conversation

artehe
Copy link

@artehe artehe commented May 24, 2024

Enables the freecam on death and updated the config to wait for the given number of seconds before changing from the black screen to the freecam with the default set to 5s.

Also added the ability to follow/spectate PMCs in first person (I didn't know how to filter to just human players but I think that would be prefereable)

  • Left Mouse Button goes to the next player.
  • Right Mouse Button goes to the previous player
  • End unlocks the camera again so you can fly around freely.

Copy link

github-actions bot commented May 24, 2024

badge

Build Successful! You can find a link to the downloadable artifact below.

Name Link
Commit 395909c
Logs https://github.com/stayintarkov/StayInTarkov.Client/actions/runs/9315898377
Download https://github.com/stayintarkov/StayInTarkov.Client/suites/24382338416/artifacts/1555548273

@kapdon
Copy link
Contributor

kapdon commented May 25, 2024

awesome, will test, fairly sure all "actual" players is GroupId = "SIT" so probably can filter by that, will try n get back to ya.

@artehe
Copy link
Author

artehe commented May 25, 2024

awesome, will test, fairly sure all "actual" players is GroupId = "SIT" so probably can filter by that, will try n get back to ya.

Ah thank you, I didn't try that. I will experiment some more later

@artehe
Copy link
Author

artehe commented May 26, 2024

Think I'm happy enough with this now

@kapdon
Copy link
Contributor

kapdon commented May 27, 2024

tested with 4, functional.
will look into how to make the cam not shake so much. n play with the height a bit so the gun isn't taking up 70% of the screen when the spectated ADS.

@artehe
Copy link
Author

artehe commented May 30, 2024

tested with 4, functional. will look into how to make the cam not shake so much. n play with the height a bit so the gun isn't taking up 70% of the screen when the spectated ADS.

I'm not entirely sure what causes the camera to shake so much, I was thinking it could be to do with how I've attached it but I'm not entirely certain.

To solve the ADS taking up most of the screen the easiest might be just moving the camera onto one of their shoulders what do you think?

@mihaicm93
Copy link
Member

To solve the ADS taking up most of the screen the easiest might be just moving the camera onto one of their shoulders what do you think?

I think that would be better

@artehe
Copy link
Author

artehe commented May 30, 2024

Switching the camera is now a lot better and won't be so flickery.

All I gotta do is get the offset right for the camera position now to be on the shoulder and this'll be perfect then.

@mihaicm93 mihaicm93 merged commit 07a2971 into development Jun 3, 2024
1 check passed
@artehe artehe deleted the freecam branch June 3, 2024 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants